package com.weightx.weight.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weightx.weight.entity.file;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**
 * @program:
 * @description:
 * @create: 2023-06-30 13:48
 **/
public interface FileMapper extends BaseMapper<file> {
    @Delete("delete from file where filename = #{filename}")
    int deleteExistFile(@Param("filename") String filename);
}
